package java04;
//定义外部类
class Outer02{
    static int m = 0;
    static class Inter02{
        public void show(){
            //静态内部类访问外部类静态成员
            System.out.println("外部类静态变量 m = " + m);
        }
    }
}
public class Test05 {
    public static void main(String[] args){
        //静态内部类可以直接通过外部类创建
        Outer02.Inter02 inter02 = new Outer02.Inter02();
        inter02.show();
    }
}
